package com.wxx.service.tool.ucpaas;


import com.wxx.model.sdk.Ucpaas;
import com.wxx.model.sdk.UcpaasJson;

import java.util.Map;

public interface UcpaasService {
    /**
     * 指定模板单发
     * 成功返回的数据 {"code":"000000","count":"1","create_date":"2018-09-04 17:20:08","mobile":"17512580833","msg":"OK","smsid":"7213083dc63fea67adf2b9da4101e960","uid":""}
     * @param ucpaas
     * @return
     */
    Map sendSms(Ucpaas ucpaas);

    /**
     * 指定模板单发
     * 成功返回的数据 {"resp":{"respCode":"000000","failure":"0","templateSMS":{"createDate":"20180918124623","smsId":"bb47109575c6818939822feb0cb68aa1"}}}
     * @param ucpaasJson
     * @return
     */
    Map sendSmsInternational(UcpaasJson ucpaasJson);

    /**
     * 指定模板群发
     * @param ucpaas
     * @return
     */
    Map sendSmsBatch(Ucpaas ucpaas);


}
